package org.gd.hellojavacore.patterns.abstractfactory;

abstract class TaxProcessor {

    abstract void calculateTaxes(Order order);
}

class EuropeTaxProcessor extends TaxProcessor {

    public void calculateTaxes(Order order) {
        // insert here Europe specific taxt calculation
    }
}

class CanadaTaxProcessor extends TaxProcessor {

    public void calculateTaxes(Order order) {
        // insert here Canada specific tax calculation
    }
}
